import Vue from 'vue'
import Router from 'vue-router'
import Header from '@/components/Header'
import First  from '@/components/First'
import Footer from '@/components/footer/Footer'
//底部 router
import About from '@/components/footer/About'
import Contact from '@/components/footer/Contact'
import Index from '@/components/footer/Index'

import Product from '@/components/Product'
import Honour from '@/components/Honour'
import Video from '@/components/Video'
Vue.use(Router)

export default new Router({
  mode:'history',//链接框里不出现#
  routes: [
    {
      path:'/',
      name:'First',
      component:First
    },
    {
      path:'/Header',
      name:'Header',
      component:Header
    },
    {
      path:'/Footer',
      name:'Footer',
      component:Footer
    },
    {
      path:'/footer/About',
      name:'About',
      component:About
    },
    {
      path:'/footer/Contact',
      name:'Contact',
      component:Contact
    },
    {
      path:'/footer/Index',
      name:'Index',
      component:Index
    },
    {path:'/product',
     name:'Product',
     component:Product
    },
    {path:'/Honour',
     name:'Honour',
     component:Honour
    },
    {path:'/Video',
     name:'Video',
     component:Video
    }
  ]
})
